import { createApiService } from '/src/util/http/url.js'

export const ActuatorService = createApiService('/Actuator', [
   { method: 'loadActuatorModel', path: '/LoadActuatorModel', name: '加载执行器模型', type: 'get' },
   { method: 'getById', path: '/GetById', name: '通过id获取执行器模型', type: 'get' },
   { method: 'loadTableStructure', path: '/LoadTableStructure', name: '加载表结构模型', type: 'get' },
   { method: 'doActuator', path: '/DoActuator', name: '执行器调用', type: 'post' },
   { method: 'createSQL', path: '/CreateSQL', name: '创建SQL', type: 'post' },
   { method: 'saveActuator', path: '/SaveActuator', name: '保存执行器', type: 'post' },
]);